package com.example.ticketorder.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Date;
import java.sql.Time;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
public class Sales {
    private String order_Number;//订单编号
    private String phone;//电话
    private String car;
    private String destination;//目的地
    private Date Dtime;//出发日期
    @Id
    private Time Htimea;//出发时间
    private Time Htimeb;//到达时间
    private double money;
}
